package com.example.cms2.Mapper;


import com.example.cms2.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @return
 */
@Mapper
public interface UserMapper {
    @Insert("insert into users values(#{username},#{password})")
    public int registerUser(String username,String password);
    public User loginCheck(String username,String password);
}
